package com.lurencun.android.topicbank.presist;

import java.io.Serializable;
import java.util.Date;

public class PracticeResult implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -2319677969045085143L;
	
	// 花费时间
	private long timeUsed;
	// 错误题数
	private int failureCount = 0;
	// 正确题数
	private int correctCount = 0;
	// 得分
	private int score = 0;
	// 开始时间
	private Date startTime;

	public long getTimeUsed() {
		return timeUsed;
	}

	public void setTimeUsed(long timeUsed) {
		this.timeUsed = timeUsed;
	}

	public int getFailureCount() {
		return failureCount;
	}

	public void setFailureCount(int failureCount) {
		this.failureCount = failureCount;
	}

	public int getCorrectCount() {
		return correctCount;
	}

	public void setCorrectCount(int correctCount) {
		this.correctCount = correctCount;
	}

	public int getScore() {
		return score;
	}

	public void setScore(int score) {
		this.score = score;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("timeUsed=" + timeUsed);
		sb.append(", failureCount=" + failureCount);
		sb.append(", correctCount=" + correctCount);
		sb.append(", score=" + score);
		return sb.toString();
	}
	
}
